// $Id$
// Licensed under Apache License Version 2.0
// See: http://www.apache.org/licenses/LICENSE-2.0.html
package de.servicezombie.cxf;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;

import de.servicezombie.pub.r1.XmlNamespaces;

@XmlRootElement(name = "testableObject", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
public class MyXmlAwareObject {

	@XmlElement(name = "name", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
	String name;

	@XmlElement(name = "id", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
	Long id;

	@XmlElements({ @XmlElement(name = "item", type = String.class, namespace = XmlNamespaces.SERVICEZOMBIE_COMMON) })
	List<String> items = new ArrayList<String>();

}
